home *** CD-ROM | disk | FTP | other *** search
- 10 REM*demo for-next interest calculation table
- 20 INPUT"Enter the amount to be invested";A
- 30 INPUT"Enter the number of years to be left on deposit";Y
- 40 INPUT"Enter the Interest Rate to be paid" ;I
- 50 FOR J=1 TO Y
- 60 LET A=A+(A*(I/100))
- 70 NEXT J
- 80 PRINT"TOTAL VALUE OF ACCOUNT" ;A
-